#nullable enable

using System.Collections.Generic;

namespace PHMEE.EnergyEfficiency;

public sealed class DigitalGroupDto
{
    public string AmsGroup { get; set; } = null!;

    /// <summary>
    /// 组排序
    /// </summary>
    public int GroupIndex { get; set; }

    /// <summary>
    /// 实时状态为 Alarm 的数量
    /// </summary>
    public int AlarmCount { get; set; }

    public IEnumerable<DigitalSignalDto> DigitalSignals { get; set; } = [];
}